package jtk.project4.fleet.event;

import java.util.List;

import jtk.project4.fleet.domain.Objects;
import jtk.project4.fleet.domain.PmHist;
import jtk.project4.fleet.event.CostStatisticEvent.CostStatisticEventType;

import nl.coderight.jazz.Event;

public class CostStatisticEvent extends Event<CostStatisticEventType> {
	private List<PmHist> pmHists;
	private List<Objects> objects;
		
		public enum CostStatisticEventType{
			LOAD_SUCCESS,
			FILTER, ADD, EDIT, DELETE, SUBMIT, CANCEL, SELECT, CHANGE, VIEW;
		}
		
		public CostStatisticEvent(CostStatisticEventType type){
			super(type);
		}

		public void setPmHists(List<PmHist> pmHists) {
			this.pmHists = pmHists;
		}

		public List<PmHist> getPmHists() {
			return pmHists;
		}

		public void setObjects(List<Objects> objects) {
			this.objects = objects;
		}

		public List<Objects> getObjects() {
			return objects;
		}

}